package com.uni.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.uni.common.annotation.Excel;
import com.uni.common.annotation.Excel.ColumnType;
import com.uni.common.annotation.Excel.Type;
import com.uni.common.annotation.Excels;
import com.uni.common.core.domain.BaseEntity;
import com.uni.common.xss.Xss;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * 用户对象 sys_user
 *
 * @author uni
 */

@TableName(value = "sys_user",autoResultMap = true)
@Data
public class SysUserDO
{

    /** 用户ID */
    @TableId(type = IdType.AUTO)
    private Long user_id;



    @Excel(name = "用户名称")
    private String nickName;

    @Excel(name = "用户名称")
    private String userName;

    /** 用户头像 */
    private String avatar;




    /** 角色ID */
    private String wxOpenid;



}
